<?php if (!defined('THINK_PATH')) exit();?><?php if(($coll)  ==  ""): ?><a href="javascript:;" onclick="core.plugInit('collection',this,'<?php echo ($type); ?>','<?php echo ($sid); ?>','<?php echo ($stable); ?>','<?php echo ($sapp); ?>', 1)" rel="add"><i class="<?php echo ($ico); ?>"></i>(<label class='count_<?php echo ($stable); ?>_<?php echo ($sid); ?>'><?php echo (($count)?($count):0); ?></label>)</a>
<?php else: ?>
<a href="javascript:;" onclick="core.plugInit('collection',this,'<?php echo ($type); ?>','<?php echo ($sid); ?>','<?php echo ($stable); ?>','<?php echo ($sapp); ?>', 1)" rel="remove"><i class="<?php echo ($ico); ?> current"></i>(<label class='count_<?php echo ($stable); ?>_<?php echo ($sid); ?>'><?php echo (($count)?($count):0); ?></label>)</a><?php endif; ?>